package advanced.io;

import java.io.File;

public class L_File {
    public static void main(String[] args) {
        String path = "src/main/java/primary/io/init";
        File init = new File(path);
        System.out.println(init.getAbsolutePath());//打印文件的真实路径
        System.out.println(init.exists());//文件是否存在
        System.out.println(init.length());//文件的字节大小
    }
}
